<template>
	<view>
		
		<view class="pay-main">
			<label for="">
				<view class="pay-item">
					<image class="pay-img" src="http://yunzhidun.oss-cn-beijing.aliyuncs.com/weixin/static/shop/zfb.png" mode=""></image>
					<view>
						<view>支付宝支付</view>
						<view class="pay-txt">推荐支付宝用户使用</view>
					</view>
					<label class="radio">
						<radio value="" color="#00aaff"/><text></text>
					</label>
				</view>
			</label>
			<label for="">
				<view class="pay-item">
					<image class="pay-img" src="http://yunzhidun.oss-cn-beijing.aliyuncs.com/weixin/static/shop/wx.png" mode=""></image>
					<view>
						<view>微信支付</view>
						<view class="pay-txt">推荐微信用户使用</view>
					</view>
					<label class="radio">
						<radio value="" color="#00aaff"/><text></text>
					</label>
				</view>
			</label>
		</view>
		
		<view class="pay-foot">
			<view class="total">
				<text class="f-color">合计：</text>
				<text class="total-price">￥259.00</text>
			</view>
			<view class="go-pay" @tap="goPayment">
				去支付
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goPayment(){
				uni.navigateTo({
					url:("/pages/shop/payment-success")
				})
			}
		}
	}
</script>

<style scoped>

.pay-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20rpx;
	border-bottom: 2rpx solid #cccccc;
}
	.pay-txt{
		color: #bababa;
	}
	.pay-img{
		width: 100rpx;
		height: 100rpx;
		
	}
	.pay-foot{
		display: flex;
		justify-content: space-between;
		bottom: 0;
		left: 0;
		position: fixed;
		height: 100rpx;
		align-items: center;
		width: 100%;
	}
		.total{
			background-color: #000;
			line-height: 100rpx;
			flex: 1;
			padding-left: 50rpx;
		}
			.f-color{
				color: #fff;
			}
			.total-price{
				color: #fff;
			}
		.go-pay{
			line-height: 100rpx;
			color: #fff;
			background-color: #00aaff;
			text-align: center;
			width: 220rpx;
		}
</style>
